#pragma once
#include "Node.h"
class LeafNode : public Node {
public:
	LeafNode(int w) : Node(w) {}
	LeafNode(const int w, const char v) : Node(w) { value = v; }
	~LeafNode();

	virtual Node* getLeft();
	virtual Node* getRight();

	virtual bool isLeaf();

private:
	char value;	
};


